<template>
  <div class="not-found">
    <span class="not-found-text">Not Found ~</span>

    <button class="not-found-btn" @click="useRouterJump('/')">返回登录</button>
  </div>
</template>

<script setup lang="ts">
import useRouterJump from '@/hooks/useRouterJump'
</script>

<style lang="less" scoped>
.not-found {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  color: cornflowerblue;
  background-color: cornsilk;

  .not-found-text {
    font-size: 60px;
    text-shadow: 2px 2px rgba(255, 127, 80, 0.5);
  }
  .not-found-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: cornflowerblue;
    border-radius: 4px;
    text-shadow: 2px 2px rgba(255, 127, 80, 0.5);
    cursor: pointer;
    margin-top: 20px;
  }
}
</style>
